package com.yjzx.core.engine.mysql;

import com.yjzx.core.bean.mysql.MysqlClassInfo;
import com.yjzx.core.bean.mysql.MysqlConfigurationInfo;
import com.yjzx.core.bean.mysql.MysqlMdInfo;
import com.yjzx.core.intercept.CustomIntercept;

/**
 * @author guozhi
 * @date 2023/10/19
 * @description CustomMdInfo
 */
public class CustomMdInfo implements CustomIntercept {
    private MysqlConfigurationInfo configurationInfo;
    private MysqlMdInfo dataInfo;

    public CustomMdInfo(MysqlConfigurationInfo configurationInfo, MysqlMdInfo dataInfo) {
        this.configurationInfo = configurationInfo;
        this.dataInfo = dataInfo;
    }

    public void setConfigurationInfo(MysqlConfigurationInfo configurationInfo) {
        this.configurationInfo = configurationInfo;
    }

    public void setDataInfo(MysqlMdInfo dataInfo) {
        this.dataInfo = dataInfo;
    }

    @Override
    public MysqlConfigurationInfo getConfigurationInfo() {
        return configurationInfo;
    }

    @Override
    public MysqlMdInfo getDataInfo() {
        return dataInfo;
    }
}
